package com.code.design.model.demo.factory.factorymethodpattern;

import com.code.design.model.demo.factory.simplefactorypattern.IMask;

public class Client {
    public static void main(String[] args) {
        IMaskFactory factoryA = new LowEndFactory();
        IMaskFactory factoryB = new HighEndFactory();
        IMask maskA = factoryA.createMask();
        IMask maskB = factoryB.createMask();
        maskA.show();
        maskB.show();
    }
}
